package com.chixing.ih.module.task.pojo.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 目的:
 *
 * @author ：zcw
 * @version: 1.0  2020/9/26 21:37
 */
public class TaskOrderDTO implements Serializable {
    @ApiModelProperty(value = "订单id", required = true)
    private Long orderId;

    @ApiModelProperty(value = "订单编号", required = true)
    private String orderNum;

    @ApiModelProperty(value = "发任务id", required = true)
    private Long sendMissionUserId;

    @ApiModelProperty(value = "接任务id", required = true)
    private Long receiveMissionUserId;

    @ApiModelProperty(value = "任务id", required = true)
    private Long missionId;

    @ApiModelProperty(value = "订单金额", required = true)
    private Double salary;

    @ApiModelProperty(value = "订单开始时间", required = true)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date orderBeginTime;

    @ApiModelProperty(value = "订单结束时间", required = true)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date orderEndTime;

    @ApiModelProperty(value = "订单状态", required = false)
    private Integer orderStatus;

    @ApiModelProperty(value = "逻辑删除", required = false)
    private Integer logicalDeletion;



}
